package com.zk.nacosprovider.Entity;

import java.util.ArrayList;
import java.util.List;

public class order1Example {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public order1Example() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderidIsNull() {
            addCriterion("orderId is null");
            return (Criteria) this;
        }

        public Criteria andOrderidIsNotNull() {
            addCriterion("orderId is not null");
            return (Criteria) this;
        }

        public Criteria andOrderidEqualTo(String value) {
            addCriterion("orderId =", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotEqualTo(String value) {
            addCriterion("orderId <>", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidGreaterThan(String value) {
            addCriterion("orderId >", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidGreaterThanOrEqualTo(String value) {
            addCriterion("orderId >=", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLessThan(String value) {
            addCriterion("orderId <", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLessThanOrEqualTo(String value) {
            addCriterion("orderId <=", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidLike(String value) {
            addCriterion("orderId like", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotLike(String value) {
            addCriterion("orderId not like", value, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidIn(List<String> values) {
            addCriterion("orderId in", values, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotIn(List<String> values) {
            addCriterion("orderId not in", values, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidBetween(String value1, String value2) {
            addCriterion("orderId between", value1, value2, "orderid");
            return (Criteria) this;
        }

        public Criteria andOrderidNotBetween(String value1, String value2) {
            addCriterion("orderId not between", value1, value2, "orderid");
            return (Criteria) this;
        }

        public Criteria andCommodityidIsNull() {
            addCriterion("commodityId is null");
            return (Criteria) this;
        }

        public Criteria andCommodityidIsNotNull() {
            addCriterion("commodityId is not null");
            return (Criteria) this;
        }

        public Criteria andCommodityidEqualTo(String value) {
            addCriterion("commodityId =", value, "commodityid");
            return (Criteria) this;
        }

        public Criteria andCommodityidNotEqualTo(String value) {
            addCriterion("commodityId <>", value, "commodityid");
            return (Criteria) this;
        }

        public Criteria andCommodityidGreaterThan(String value) {
            addCriterion("commodityId >", value, "commodityid");
            return (Criteria) this;
        }

        public Criteria andCommodityidGreaterThanOrEqualTo(String value) {
            addCriterion("commodityId >=", value, "commodityid");
            return (Criteria) this;
        }

        public Criteria andCommodityidLessThan(String value) {
            addCriterion("commodityId <", value, "commodityid");
            return (Criteria) this;
        }

        public Criteria andCommodityidLessThanOrEqualTo(String value) {
            addCriterion("commodityId <=", value, "commodityid");
            return (Criteria) this;
        }

        public Criteria andCommodityidLike(String value) {
            addCriterion("commodityId like", value, "commodityid");
            return (Criteria) this;
        }

        public Criteria andCommodityidNotLike(String value) {
            addCriterion("commodityId not like", value, "commodityid");
            return (Criteria) this;
        }

        public Criteria andCommodityidIn(List<String> values) {
            addCriterion("commodityId in", values, "commodityid");
            return (Criteria) this;
        }

        public Criteria andCommodityidNotIn(List<String> values) {
            addCriterion("commodityId not in", values, "commodityid");
            return (Criteria) this;
        }

        public Criteria andCommodityidBetween(String value1, String value2) {
            addCriterion("commodityId between", value1, value2, "commodityid");
            return (Criteria) this;
        }

        public Criteria andCommodityidNotBetween(String value1, String value2) {
            addCriterion("commodityId not between", value1, value2, "commodityid");
            return (Criteria) this;
        }

        public Criteria andNumberIsNull() {
            addCriterion("number is null");
            return (Criteria) this;
        }

        public Criteria andNumberIsNotNull() {
            addCriterion("number is not null");
            return (Criteria) this;
        }

        public Criteria andNumberEqualTo(Integer value) {
            addCriterion("number =", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualTo(Integer value) {
            addCriterion("number <>", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThan(Integer value) {
            addCriterion("number >", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("number >=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThan(Integer value) {
            addCriterion("number <", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualTo(Integer value) {
            addCriterion("number <=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberIn(List<Integer> values) {
            addCriterion("number in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotIn(List<Integer> values) {
            addCriterion("number not in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberBetween(Integer value1, Integer value2) {
            addCriterion("number between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("number not between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andConsumernameIsNull() {
            addCriterion("consumerName is null");
            return (Criteria) this;
        }

        public Criteria andConsumernameIsNotNull() {
            addCriterion("consumerName is not null");
            return (Criteria) this;
        }

        public Criteria andConsumernameEqualTo(String value) {
            addCriterion("consumerName =", value, "consumername");
            return (Criteria) this;
        }

        public Criteria andConsumernameNotEqualTo(String value) {
            addCriterion("consumerName <>", value, "consumername");
            return (Criteria) this;
        }

        public Criteria andConsumernameGreaterThan(String value) {
            addCriterion("consumerName >", value, "consumername");
            return (Criteria) this;
        }

        public Criteria andConsumernameGreaterThanOrEqualTo(String value) {
            addCriterion("consumerName >=", value, "consumername");
            return (Criteria) this;
        }

        public Criteria andConsumernameLessThan(String value) {
            addCriterion("consumerName <", value, "consumername");
            return (Criteria) this;
        }

        public Criteria andConsumernameLessThanOrEqualTo(String value) {
            addCriterion("consumerName <=", value, "consumername");
            return (Criteria) this;
        }

        public Criteria andConsumernameLike(String value) {
            addCriterion("consumerName like", value, "consumername");
            return (Criteria) this;
        }

        public Criteria andConsumernameNotLike(String value) {
            addCriterion("consumerName not like", value, "consumername");
            return (Criteria) this;
        }

        public Criteria andConsumernameIn(List<String> values) {
            addCriterion("consumerName in", values, "consumername");
            return (Criteria) this;
        }

        public Criteria andConsumernameNotIn(List<String> values) {
            addCriterion("consumerName not in", values, "consumername");
            return (Criteria) this;
        }

        public Criteria andConsumernameBetween(String value1, String value2) {
            addCriterion("consumerName between", value1, value2, "consumername");
            return (Criteria) this;
        }

        public Criteria andConsumernameNotBetween(String value1, String value2) {
            addCriterion("consumerName not between", value1, value2, "consumername");
            return (Criteria) this;
        }

        public Criteria andExpresscompanyIsNull() {
            addCriterion("expressCompany is null");
            return (Criteria) this;
        }

        public Criteria andExpresscompanyIsNotNull() {
            addCriterion("expressCompany is not null");
            return (Criteria) this;
        }

        public Criteria andExpresscompanyEqualTo(String value) {
            addCriterion("expressCompany =", value, "expresscompany");
            return (Criteria) this;
        }

        public Criteria andExpresscompanyNotEqualTo(String value) {
            addCriterion("expressCompany <>", value, "expresscompany");
            return (Criteria) this;
        }

        public Criteria andExpresscompanyGreaterThan(String value) {
            addCriterion("expressCompany >", value, "expresscompany");
            return (Criteria) this;
        }

        public Criteria andExpresscompanyGreaterThanOrEqualTo(String value) {
            addCriterion("expressCompany >=", value, "expresscompany");
            return (Criteria) this;
        }

        public Criteria andExpresscompanyLessThan(String value) {
            addCriterion("expressCompany <", value, "expresscompany");
            return (Criteria) this;
        }

        public Criteria andExpresscompanyLessThanOrEqualTo(String value) {
            addCriterion("expressCompany <=", value, "expresscompany");
            return (Criteria) this;
        }

        public Criteria andExpresscompanyLike(String value) {
            addCriterion("expressCompany like", value, "expresscompany");
            return (Criteria) this;
        }

        public Criteria andExpresscompanyNotLike(String value) {
            addCriterion("expressCompany not like", value, "expresscompany");
            return (Criteria) this;
        }

        public Criteria andExpresscompanyIn(List<String> values) {
            addCriterion("expressCompany in", values, "expresscompany");
            return (Criteria) this;
        }

        public Criteria andExpresscompanyNotIn(List<String> values) {
            addCriterion("expressCompany not in", values, "expresscompany");
            return (Criteria) this;
        }

        public Criteria andExpresscompanyBetween(String value1, String value2) {
            addCriterion("expressCompany between", value1, value2, "expresscompany");
            return (Criteria) this;
        }

        public Criteria andExpresscompanyNotBetween(String value1, String value2) {
            addCriterion("expressCompany not between", value1, value2, "expresscompany");
            return (Criteria) this;
        }

        public Criteria andShippingaddressIsNull() {
            addCriterion("shippingAddress is null");
            return (Criteria) this;
        }

        public Criteria andShippingaddressIsNotNull() {
            addCriterion("shippingAddress is not null");
            return (Criteria) this;
        }

        public Criteria andShippingaddressEqualTo(String value) {
            addCriterion("shippingAddress =", value, "shippingaddress");
            return (Criteria) this;
        }

        public Criteria andShippingaddressNotEqualTo(String value) {
            addCriterion("shippingAddress <>", value, "shippingaddress");
            return (Criteria) this;
        }

        public Criteria andShippingaddressGreaterThan(String value) {
            addCriterion("shippingAddress >", value, "shippingaddress");
            return (Criteria) this;
        }

        public Criteria andShippingaddressGreaterThanOrEqualTo(String value) {
            addCriterion("shippingAddress >=", value, "shippingaddress");
            return (Criteria) this;
        }

        public Criteria andShippingaddressLessThan(String value) {
            addCriterion("shippingAddress <", value, "shippingaddress");
            return (Criteria) this;
        }

        public Criteria andShippingaddressLessThanOrEqualTo(String value) {
            addCriterion("shippingAddress <=", value, "shippingaddress");
            return (Criteria) this;
        }

        public Criteria andShippingaddressLike(String value) {
            addCriterion("shippingAddress like", value, "shippingaddress");
            return (Criteria) this;
        }

        public Criteria andShippingaddressNotLike(String value) {
            addCriterion("shippingAddress not like", value, "shippingaddress");
            return (Criteria) this;
        }

        public Criteria andShippingaddressIn(List<String> values) {
            addCriterion("shippingAddress in", values, "shippingaddress");
            return (Criteria) this;
        }

        public Criteria andShippingaddressNotIn(List<String> values) {
            addCriterion("shippingAddress not in", values, "shippingaddress");
            return (Criteria) this;
        }

        public Criteria andShippingaddressBetween(String value1, String value2) {
            addCriterion("shippingAddress between", value1, value2, "shippingaddress");
            return (Criteria) this;
        }

        public Criteria andShippingaddressNotBetween(String value1, String value2) {
            addCriterion("shippingAddress not between", value1, value2, "shippingaddress");
            return (Criteria) this;
        }

        public Criteria andReceivingaddressIsNull() {
            addCriterion("receivingAddress is null");
            return (Criteria) this;
        }

        public Criteria andReceivingaddressIsNotNull() {
            addCriterion("receivingAddress is not null");
            return (Criteria) this;
        }

        public Criteria andReceivingaddressEqualTo(String value) {
            addCriterion("receivingAddress =", value, "receivingaddress");
            return (Criteria) this;
        }

        public Criteria andReceivingaddressNotEqualTo(String value) {
            addCriterion("receivingAddress <>", value, "receivingaddress");
            return (Criteria) this;
        }

        public Criteria andReceivingaddressGreaterThan(String value) {
            addCriterion("receivingAddress >", value, "receivingaddress");
            return (Criteria) this;
        }

        public Criteria andReceivingaddressGreaterThanOrEqualTo(String value) {
            addCriterion("receivingAddress >=", value, "receivingaddress");
            return (Criteria) this;
        }

        public Criteria andReceivingaddressLessThan(String value) {
            addCriterion("receivingAddress <", value, "receivingaddress");
            return (Criteria) this;
        }

        public Criteria andReceivingaddressLessThanOrEqualTo(String value) {
            addCriterion("receivingAddress <=", value, "receivingaddress");
            return (Criteria) this;
        }

        public Criteria andReceivingaddressLike(String value) {
            addCriterion("receivingAddress like", value, "receivingaddress");
            return (Criteria) this;
        }

        public Criteria andReceivingaddressNotLike(String value) {
            addCriterion("receivingAddress not like", value, "receivingaddress");
            return (Criteria) this;
        }

        public Criteria andReceivingaddressIn(List<String> values) {
            addCriterion("receivingAddress in", values, "receivingaddress");
            return (Criteria) this;
        }

        public Criteria andReceivingaddressNotIn(List<String> values) {
            addCriterion("receivingAddress not in", values, "receivingaddress");
            return (Criteria) this;
        }

        public Criteria andReceivingaddressBetween(String value1, String value2) {
            addCriterion("receivingAddress between", value1, value2, "receivingaddress");
            return (Criteria) this;
        }

        public Criteria andReceivingaddressNotBetween(String value1, String value2) {
            addCriterion("receivingAddress not between", value1, value2, "receivingaddress");
            return (Criteria) this;
        }

        public Criteria andConsumerphonenumIsNull() {
            addCriterion("consumerPhoneNum is null");
            return (Criteria) this;
        }

        public Criteria andConsumerphonenumIsNotNull() {
            addCriterion("consumerPhoneNum is not null");
            return (Criteria) this;
        }

        public Criteria andConsumerphonenumEqualTo(String value) {
            addCriterion("consumerPhoneNum =", value, "consumerphonenum");
            return (Criteria) this;
        }

        public Criteria andConsumerphonenumNotEqualTo(String value) {
            addCriterion("consumerPhoneNum <>", value, "consumerphonenum");
            return (Criteria) this;
        }

        public Criteria andConsumerphonenumGreaterThan(String value) {
            addCriterion("consumerPhoneNum >", value, "consumerphonenum");
            return (Criteria) this;
        }

        public Criteria andConsumerphonenumGreaterThanOrEqualTo(String value) {
            addCriterion("consumerPhoneNum >=", value, "consumerphonenum");
            return (Criteria) this;
        }

        public Criteria andConsumerphonenumLessThan(String value) {
            addCriterion("consumerPhoneNum <", value, "consumerphonenum");
            return (Criteria) this;
        }

        public Criteria andConsumerphonenumLessThanOrEqualTo(String value) {
            addCriterion("consumerPhoneNum <=", value, "consumerphonenum");
            return (Criteria) this;
        }

        public Criteria andConsumerphonenumLike(String value) {
            addCriterion("consumerPhoneNum like", value, "consumerphonenum");
            return (Criteria) this;
        }

        public Criteria andConsumerphonenumNotLike(String value) {
            addCriterion("consumerPhoneNum not like", value, "consumerphonenum");
            return (Criteria) this;
        }

        public Criteria andConsumerphonenumIn(List<String> values) {
            addCriterion("consumerPhoneNum in", values, "consumerphonenum");
            return (Criteria) this;
        }

        public Criteria andConsumerphonenumNotIn(List<String> values) {
            addCriterion("consumerPhoneNum not in", values, "consumerphonenum");
            return (Criteria) this;
        }

        public Criteria andConsumerphonenumBetween(String value1, String value2) {
            addCriterion("consumerPhoneNum between", value1, value2, "consumerphonenum");
            return (Criteria) this;
        }

        public Criteria andConsumerphonenumNotBetween(String value1, String value2) {
            addCriterion("consumerPhoneNum not between", value1, value2, "consumerphonenum");
            return (Criteria) this;
        }

        public Criteria andTotalIsNull() {
            addCriterion("total is null");
            return (Criteria) this;
        }

        public Criteria andTotalIsNotNull() {
            addCriterion("total is not null");
            return (Criteria) this;
        }

        public Criteria andTotalEqualTo(Integer value) {
            addCriterion("total =", value, "total");
            return (Criteria) this;
        }

        public Criteria andTotalNotEqualTo(Integer value) {
            addCriterion("total <>", value, "total");
            return (Criteria) this;
        }

        public Criteria andTotalGreaterThan(Integer value) {
            addCriterion("total >", value, "total");
            return (Criteria) this;
        }

        public Criteria andTotalGreaterThanOrEqualTo(Integer value) {
            addCriterion("total >=", value, "total");
            return (Criteria) this;
        }

        public Criteria andTotalLessThan(Integer value) {
            addCriterion("total <", value, "total");
            return (Criteria) this;
        }

        public Criteria andTotalLessThanOrEqualTo(Integer value) {
            addCriterion("total <=", value, "total");
            return (Criteria) this;
        }

        public Criteria andTotalIn(List<Integer> values) {
            addCriterion("total in", values, "total");
            return (Criteria) this;
        }

        public Criteria andTotalNotIn(List<Integer> values) {
            addCriterion("total not in", values, "total");
            return (Criteria) this;
        }

        public Criteria andTotalBetween(Integer value1, Integer value2) {
            addCriterion("total between", value1, value2, "total");
            return (Criteria) this;
        }

        public Criteria andTotalNotBetween(Integer value1, Integer value2) {
            addCriterion("total not between", value1, value2, "total");
            return (Criteria) this;
        }

        public Criteria andFromwarehouseidIsNull() {
            addCriterion("fromWareHouseId is null");
            return (Criteria) this;
        }

        public Criteria andFromwarehouseidIsNotNull() {
            addCriterion("fromWareHouseId is not null");
            return (Criteria) this;
        }

        public Criteria andFromwarehouseidEqualTo(String value) {
            addCriterion("fromWareHouseId =", value, "fromwarehouseid");
            return (Criteria) this;
        }

        public Criteria andFromwarehouseidNotEqualTo(String value) {
            addCriterion("fromWareHouseId <>", value, "fromwarehouseid");
            return (Criteria) this;
        }

        public Criteria andFromwarehouseidGreaterThan(String value) {
            addCriterion("fromWareHouseId >", value, "fromwarehouseid");
            return (Criteria) this;
        }

        public Criteria andFromwarehouseidGreaterThanOrEqualTo(String value) {
            addCriterion("fromWareHouseId >=", value, "fromwarehouseid");
            return (Criteria) this;
        }

        public Criteria andFromwarehouseidLessThan(String value) {
            addCriterion("fromWareHouseId <", value, "fromwarehouseid");
            return (Criteria) this;
        }

        public Criteria andFromwarehouseidLessThanOrEqualTo(String value) {
            addCriterion("fromWareHouseId <=", value, "fromwarehouseid");
            return (Criteria) this;
        }

        public Criteria andFromwarehouseidLike(String value) {
            addCriterion("fromWareHouseId like", value, "fromwarehouseid");
            return (Criteria) this;
        }

        public Criteria andFromwarehouseidNotLike(String value) {
            addCriterion("fromWareHouseId not like", value, "fromwarehouseid");
            return (Criteria) this;
        }

        public Criteria andFromwarehouseidIn(List<String> values) {
            addCriterion("fromWareHouseId in", values, "fromwarehouseid");
            return (Criteria) this;
        }

        public Criteria andFromwarehouseidNotIn(List<String> values) {
            addCriterion("fromWareHouseId not in", values, "fromwarehouseid");
            return (Criteria) this;
        }

        public Criteria andFromwarehouseidBetween(String value1, String value2) {
            addCriterion("fromWareHouseId between", value1, value2, "fromwarehouseid");
            return (Criteria) this;
        }

        public Criteria andFromwarehouseidNotBetween(String value1, String value2) {
            addCriterion("fromWareHouseId not between", value1, value2, "fromwarehouseid");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionIsNull() {
            addCriterion("falseDeletion is null");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionIsNotNull() {
            addCriterion("falseDeletion is not null");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionEqualTo(Integer value) {
            addCriterion("falseDeletion =", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionNotEqualTo(Integer value) {
            addCriterion("falseDeletion <>", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionGreaterThan(Integer value) {
            addCriterion("falseDeletion >", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionGreaterThanOrEqualTo(Integer value) {
            addCriterion("falseDeletion >=", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionLessThan(Integer value) {
            addCriterion("falseDeletion <", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionLessThanOrEqualTo(Integer value) {
            addCriterion("falseDeletion <=", value, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionIn(List<Integer> values) {
            addCriterion("falseDeletion in", values, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionNotIn(List<Integer> values) {
            addCriterion("falseDeletion not in", values, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionBetween(Integer value1, Integer value2) {
            addCriterion("falseDeletion between", value1, value2, "falsedeletion");
            return (Criteria) this;
        }

        public Criteria andFalsedeletionNotBetween(Integer value1, Integer value2) {
            addCriterion("falseDeletion not between", value1, value2, "falsedeletion");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}